package com.ys.entity.business;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_VatPaymentAccount", catalog="Id")
public class TcwVatPaymentAccount extends BaseEntity<TcwVatPaymentAccount> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Code", nameJava="code", typeDataBase="varchar")
	private String code;
	@YsField(nameDataBase="CountryCode", nameJava="countryCode", typeDataBase="varchar")
	private String countryCode;
	@YsField(nameDataBase="CountryName", nameJava="countryName", typeDataBase="varchar")
	private String countryName;
	@YsField(nameDataBase="AmazonShopExchangeRateld", nameJava="amazonShopExchangeRateld", typeDataBase="bigint")
	private Long amazonShopExchangeRateld;
	@YsField(nameDataBase="Vyhzhmc", nameJava="vyhzhmc", typeDataBase="varchar")
	private String vyhzhmc;
	@YsField(nameDataBase="Vkhh", nameJava="vkhh", typeDataBase="varchar")
	private String vkhh;
	@YsField(nameDataBase="AchRouting", nameJava="achRouting", typeDataBase="varchar")
	private String achRouting;
	@YsField(nameDataBase="Vyhzh", nameJava="vyhzh", typeDataBase="varchar")
	private String vyhzh;
	@YsField(nameDataBase="SwiftCode", nameJava="swiftCode", typeDataBase="varchar")
	private String swiftCode;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="CreateChangeld", nameJava="createChangeld", typeDataBase="bigint")
	private Long createChangeld;
	@YsField(nameDataBase="StatusSec", nameJava="statusSec", typeDataBase="tinyint")
	private Integer statusSec;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwVatPaymentAccount setId(Long id) {
		this.id = id;
		return this;
	}
	public String getCode() {
		return code;
	}
	public TcwVatPaymentAccount setCode(String code) {
		this.code = code;
		return this;
	}
	public String getCountryCode() {
		return countryCode;
	}
	public TcwVatPaymentAccount setCountryCode(String countryCode) {
		this.countryCode = countryCode;
		return this;
	}
	public String getCountryName() {
		return countryName;
	}
	public TcwVatPaymentAccount setCountryName(String countryName) {
		this.countryName = countryName;
		return this;
	}
	public Long getAmazonShopExchangeRateld() {
		return amazonShopExchangeRateld;
	}
	public TcwVatPaymentAccount setAmazonShopExchangeRateld(Long amazonShopExchangeRateld) {
		this.amazonShopExchangeRateld = amazonShopExchangeRateld;
		return this;
	}
	public String getVyhzhmc() {
		return vyhzhmc;
	}
	public TcwVatPaymentAccount setVyhzhmc(String vyhzhmc) {
		this.vyhzhmc = vyhzhmc;
		return this;
	}
	public String getVkhh() {
		return vkhh;
	}
	public TcwVatPaymentAccount setVkhh(String vkhh) {
		this.vkhh = vkhh;
		return this;
	}
	public String getAchRouting() {
		return achRouting;
	}
	public TcwVatPaymentAccount setAchRouting(String achRouting) {
		this.achRouting = achRouting;
		return this;
	}
	public String getVyhzh() {
		return vyhzh;
	}
	public TcwVatPaymentAccount setVyhzh(String vyhzh) {
		this.vyhzh = vyhzh;
		return this;
	}
	public String getSwiftCode() {
		return swiftCode;
	}
	public TcwVatPaymentAccount setSwiftCode(String swiftCode) {
		this.swiftCode = swiftCode;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TcwVatPaymentAccount setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Long getCreateChangeld() {
		return createChangeld;
	}
	public TcwVatPaymentAccount setCreateChangeld(Long createChangeld) {
		this.createChangeld = createChangeld;
		return this;
	}
	public Integer getStatusSec() {
		return statusSec;
	}
	public TcwVatPaymentAccount setStatusSec(Integer statusSec) {
		this.statusSec = statusSec;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwVatPaymentAccount setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwVatPaymentAccount setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwVatPaymentAccount setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwVatPaymentAccount tcwVatPaymentAccount(
		String code,
		String countryCode,
		String countryName,
		Long amazonShopExchangeRateld,
		String vyhzhmc,
		String vkhh,
		String achRouting,
		String vyhzh,
		String swiftCode,
		String remark,
		Long createChangeld,
		Integer statusSec,
		Integer status
			) {
		TcwVatPaymentAccount entity = new TcwVatPaymentAccount();
		entity.setCode(code);
		entity.setCountryCode(countryCode);
		entity.setCountryName(countryName);
		entity.setAmazonShopExchangeRateld(amazonShopExchangeRateld);
		entity.setVyhzhmc(vyhzhmc);
		entity.setVkhh(vkhh);
		entity.setAchRouting(achRouting);
		entity.setVyhzh(vyhzh);
		entity.setSwiftCode(swiftCode);
		entity.setRemark(remark);
		entity.setCreateChangeld(createChangeld);
		entity.setStatusSec(statusSec);
		entity.setStatus(status);
		return entity;
	}
}